<?php
/**
 * @author 天涯 <mail@phpha.com>
 * @copyright http://blog.phpha.com
 * @link http://blog.phpha.com/vncms
 * @version 1.0
 */
header("Content-type:text/html; charset=utf-8;");
@date_default_timezone_set('PRC');
define('APP_PATH', dirname(__FILE__).'/vonuo');
define('SP_PATH', dirname(__FILE__).'/comm/SpeedPHP');
define('VERSION', 'v1.0');
define('RELEASE', '20130101');
define('LICENSE', 'http://blog.phpha.com/vncms.php');
$spConfig = array(
	//'mode' => 'release',
	'db' => array(
		'host'		=>	'10.4.12.173',
		'login'		=>	'uU5nYOabMEffo',		//数据库账号
		'password'	=>	'py2esaQRKWbL7',		//数据库密码
		'database' 	=>	'd0044725c6da14277b926f55bb63dc6ed',	//数据库名
		'prefix' 	=>	'vn_',		//数据表前缀
	),
	'model_path' => APP_PATH.'/model',
	'controller_path' => APP_PATH.'/action',
	'default_controller' => 'admin',
	'view' => array(
		'enabled' => true,
		'config' => array(
			'template_dir' => APP_PATH.'/theme',
		),
		'engine_name' => 'speedy',
		'engine_path' => SP_PATH.'/Drivers/speedy.php',
	),
	'include_path' => array('comm/Include')
);
require 'vndb.php';
require SP_PATH.'/SpeedPHP.php';
spRun();
